package com.boot.security.server.config;

/**
 * @author LF
 * @date 2020/8/17 - 11:19
 */

import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;

@Configuration
public class ESConfig {
    @PostConstruct
    void init(){
        System.setProperty("es.set.netty.runtime.available.processors","false");
    }
}
